@import "../../assets/css/theme.scss";

.fmc-new-menu {
    width: 230px;
    height: 100%;
    background-color: #fff;
    z-index: 999;
    overflow: hidden;
    border-right: 1px solid #c8c8c8;
    flex: 0 0 auto;

    .operation-guide {
        width: 199px;
        height: 50px;
        background-color: #9b9b9b;
        color: #fff;
        position: fixed;
        bottom: 0;
        text-align: center;
        line-height: 50px;
        font-size: 14px;

        &::before {
            margin-right: 10px;
            position: absolute;
            left: 50px;
        }

        a {
            display: block;
            width: 100%;
            height: 100%;
        }
    }
    .el-submenu__title {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    li.el-menu-item {
        padding-right: 30px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    
}

.fmc-new-menu .fmc-scroll {
    width: 5px;
    position: absolute;
    right: 1px;
    top: 0;
    height: 100%;
    background-color: rgba(0,0,0,.2);
    z-index: 10;
    display: none;
}

.fmc-new-menu-con {
    width: calc(100% + 17px);
    height: calc(100% - 50px);
    position: relative;
    top: 0;
    overflow: hidden;
    overflow-y: scroll;
}

.fmc-menu-logo {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 200px;
    height: 55px;
    padding: 0 15px;
    color: #fff;
    &>img {
        position: relative;
        width: 170px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.master .menu-zoom {
  position: absolute;
  top: 0;
  font-size: 15px;
  padding: 20px 0;
}
.master .message-news {
  position: absolute;
  top: 0;
  font-size: 15px;
  margin-left: 30px;
  padding: 20px 0;
  cursor: pointer;

  .item {
    .el-badge__content {
        // border: none;
        // height: 20px;
        // line-height: 20px;
    }
  }
}
.master .menu-app-download {
    position: absolute;
    top: 2px;
    font-size: 12px;
    margin-left: 58px;
    padding: 20px 0;
  }

.menu-zoom>div::before {
    cursor: pointer;
}

.menu-zoom>.icon-close::before {
    content: '\e9cf'
}

.menu-zoom>.icon-open::before {
    content: '\e9ce'
}

.fmc-header {
    width: 100%;
    height: 55px;
    background-color: $head;
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 2px rgba(0,0,0,.1);
    font-size: 14px;
}
.fmc-header>div {
    display: inline-block;
}
.master .el-menu-vertical, .master .el-menu-vertical .el-menu {
    background-color: #fff;
}
.el-menu-vertical .el-menu-item.is-active {
    background-color: #e6edf1;
    color: #000;
}
.fmc-depatementname {
    position: absolute;
    right: 120px;
    height: 55px;
    line-height: 55px;
    margin-right: 300px;
}
.fmc-username {
    position: absolute;
    right: 120px;
    height: 55px;
    line-height: 55px;
    margin-right: 15px;
    &>span {
        text-decoration-line: underline;
        text-decoration: underline;
    }
}
.logout {
    position: absolute;
    right: 0;
    width: 80px;
    height: 38px;
    padding: 8.5px 10px;

}
.icon-logout.el-button {
    font-size: 14px;
}
.icon-logout::before {
    font-size: 16px;
    content: '\e9d3';
    display: block;
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
}
.logout .el-button {
     color: #fff; 
}

.container-fluid {
    padding: 15px;
    padding-bottom: 0;
}

.container .container-fluid {
    min-height: 100%;
    box-sizing: border-box;
}

.container .el-loading-mask {
    // position: fixed;
    // top: 55px;
    // left: 200px;
}

.el-menu .el-menu-item>i, .el-menu .el-submenu .el-submenu__title>i{
    margin-right: 15px;
}

.el-menu .el-menu-item::before {
    margin-right: 15px;
}

.master .el-menu-vertical .el-menu-item.is-active {
    background-color: $theme;
    color: #fff;
}

.master .el-submenu .el-menu-item:hover, .master .el-submenu__title:hover , .master .el-menu-item:hover{
    background-color: $hover;
}

.master .fmc-flex {
    display: flex;
    flex-flow: row nowrap;
    position: relative;
    top: 55px;
    left: 0;
    height: calc(100vh - 55px);
}

.master .container {
  height: calc(100vh - 55px);
  overflow: hidden;
  overflow-y: scroll;
  flex: 1 1 auto;
}

.menu-animation-enter-active {
  transition: all .5s ease;
}
.menu-animation-leave-active {
  transition: all .5s ease;
}
.menu-animation-enter, .menu-animation-leave-to {
  transform: translateX(10px);
  margin-left: -200px;
}